
{extend name="common@bootstrap" /}
{block name="body_content"}
<div class="btn-group">
    <a href="{:url('read')}" class="btn btn-default">列表</a>
    <a href="{:url('create')}" class="btn btn-default">继续添加</a>
</div>
<form action="{:url('update')}" method="post" role="form" data-auto-date="2019/06/26" data-auto-time="22:34">

    <div class="form-group">
        <label for="input-id">ID</label>
        <input type="number" class="form-control" id="input-id" name="id" value="{$row['id']}" placeholder="请输入ID">
    </div>

    <div class="form-group">
        <label for="input-level">分层</label>
        <input type="number" class="form-control" id="input-level" name="level" value="{$row['level']}" placeholder="请输入分层">
    </div>

    <div class="form-group">
        <label for="input-create_ts">创建时间</label>
        <input type="number" class="form-control" id="input-create_ts" name="create_ts" value="{$row['create_ts']}" placeholder="请输入创建时间">
    </div>

    <div class="form-group">
        <label for="input-update_ts">修改时间</label>
        <input type="number" class="form-control" id="input-update_ts" name="update_ts" value="{$row['update_ts']}" placeholder="请输入修改时间">
    </div>

    <div class="form-group">
        <label for="input-pid">上级</label>
        <input type="number" class="form-control" id="input-pid" name="pid" value="{$row['pid']}" placeholder="请输入上级">
    </div>

    <div class="form-group">
        <label for="input-tid">顶级</label>
        <input type="number" class="form-control" id="input-tid" name="tid" value="{$row['tid']}" placeholder="请输入顶级">
    </div>

    <div class="form-group">
        <label for="input-sort">排序</label>
        <input type="number" class="form-control" id="input-sort" name="sort" value="{$row['sort']}" placeholder="请输入排序">
    </div>

    <div class="form-group">
        <label for="input-name">节点名</label>
        <input type="text" class="form-control" id="input-name" name="name" value="{$row['name']}" placeholder="请输入节点名">
    </div>

    <div class="form-group">
        <label for="input-title">节点标题</label>
        <input type="text" class="form-control" id="input-title" name="title" value="{$row['title']}" placeholder="请输入节点标题">
    </div>

    <div class="form-group">
        <label for="input-tree">树形描述</label>
        <input type="text" class="form-control" id="input-tree" name="tree" value="{$row['tree']}" placeholder="请输入树形描述">
    </div>

    <div class="form-group">
        <label for="input-remark">节点描述</label>
        <input type="text" class="form-control" id="input-remark" name="remark" value="{$row['remark']}" placeholder="请输入节点描述">
    </div>

    <button type="submit" class="btn btn-default">确定</button>
</form>
{/block}
